<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
</head>
<body>
<form action="http://localhost:8080" method="get">
  <table align="center">
    <tr>
      <td>用户名称：</td>
      <td><input type="text" value="用户名" name="userName"></td>
    </tr>
    <tr>
      <td>用户密码：</td>
      <td><input type="password" placeholder="用户密码" maxlength="10" name="psw"/></td>
    </tr>
    <tr>
      <td>确认密码：</td>
      <td><input type="password" placeholder="用户密码" maxlength="10"/></td>
    </tr>
    <tr>
      <td>用户性别：</td>
      <td><input type="radio" name="sex" checked="checked" value="boy">男<input type="radio" name="sex" value="girl">女</td>
    </tr>
    <tr>
      <td>兴趣爱好：</td>
      <td><input type="checkbox" checked="checked" value="java"/>Java<input type="checkbox" value="C++"/>C++<input type="checkbox"/>PHP</td>
    </tr>
    <tr>
      <td>用户国籍：</td>
      <td><select onchange="alert(this.value)">
        <option value="中国">中国</option>
        <option selected="selected" value="日本">日本</option>
        <option value="美国">美国</option>
      </select></td>
    </tr>
    <tr>
      <td><input type="submit" value="提交"></td>
    </tr>
    <tr>
  </table>
</form>
</body>
</html>
